package com.java1234.jxc.beans;

import com.java1234.jxc.core.base.BaseModel;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Table("t_goodsunit")
public class GoodsUnit extends BaseModel{

    @Column
    @Comment("编号")
    @Id
    private Integer id;

    @Column
    @Comment("商品单位名称")
    private String name; //

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
